<!DOCTYPE html>
<html>
<head>
  <style>
   caption { color: green }
  </style>
</head>
<body>

<table style="background: green;"><caption style="background: inherit">TEST</caption><caption></caption></table>

</body>
</html>
